﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Shop.Framework.Page {
    public class Checkout : ViewPage {

        public string ErrorMessage { get; set; }
        public bool HassError {
            get {
                return ErrorMessage != null;
            }
        }

        protected override void OnLoad(EventArgs e) {
            if (Session["ErrorMessage"] != null)
                ErrorMessage = Session["ErrorMessage"].ToString();
            base.OnLoad(e);
        }

    }
}
